﻿if exists (select * from sysobjects where id = object_id(N'pBUGLOGUsersDelete') and sysstat & 0xf = 4) drop procedure pBUGLOGUsersDelete 
GO

-- Deletes a record from the [dbo].[Users] table.
CREATE PROCEDURE pBUGLOGUsersDelete
        @pk_UserID int
AS
BEGIN
    DELETE [dbo].[Users]
    WHERE [UserID] = @pk_UserID
END

